.class public Lcom/instagram/creation/video/e/a;
.super Lcom/instagram/creation/video/e/p;
.source "AshbyFilter.java"


# instance fields
.field private g:I

.field private h:I


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 3
    .parameter

    .prologue
    .line 18
    const/16 v0, 0x74

    const-string v1, "Ashby"

    const-string v2, "ashby"

    invoke-direct {p0, p1, v0, v1, v2}, Lcom/instagram/creation/video/e/p;-><init>(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;)V

    .line 19
    return-void
.end method


# virtual methods
.method protected a()V
    .locals 2

    .prologue
    .line 23
    iget v0, p0, Lcom/instagram/creation/video/e/a;->d:I

    const-string v1, "tonemap"

    invoke-static {v0, v1}, Landroid/opengl/GLES20;->glGetUniformLocation(ILjava/lang/String;)I

    move-result v0

    const/4 v1, 0x1

    invoke-static {v0, v1}, Landroid/opengl/GLES20;->glUniform1i(II)V

    .line 24
    iget v0, p0, Lcom/instagram/creation/video/e/a;->d:I

    const-string v1, "levels"

    invoke-static {v0, v1}, Landroid/opengl/GLES20;->glGetUniformLocation(ILjava/lang/String;)I

    move-result v0

    const/4 v1, 0x2

    invoke-static {v0, v1}, Landroid/opengl/GLES20;->glUniform1i(II)V

    .line 26
    iget-object v0, p0, Lcom/instagram/creation/video/e/a;->c:Landroid/content/Context;

    const-string v1, "video/ashby/tonemap.png"

    invoke-static {v0, v1}, Lcom/instagram/creation/base/d;->a(Landroid/content/Context;Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/instagram/creation/video/e/a;->g:I

    .line 27
    iget-object v0, p0, Lcom/instagram/creation/video/e/a;->c:Landroid/content/Context;

    const-string v1, "video/ashby/levels.png"

    invoke-static {v0, v1}, Lcom/instagram/creation/base/d;->a(Landroid/content/Context;Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/instagram/creation/video/e/a;->h:I

    .line 28
    return-void
.end method

.method protected b()V
    .locals 2

    .prologue
    const/16 v1, 0xde1

    .line 32
    const v0, 0x84c1

    invoke-static {v0}, Landroid/opengl/GLES20;->glActiveTexture(I)V

    .line 33
    iget v0, p0, Lcom/instagram/creation/video/e/a;->g:I

    invoke-static {v1, v0}, Landroid/opengl/GLES20;->glBindTexture(II)V

    .line 35
    const v0, 0x84c2

    invoke-static {v0}, Landroid/opengl/GLES20;->glActiveTexture(I)V

    .line 36
    iget v0, p0, Lcom/instagram/creation/video/e/a;->h:I

    invoke-static {v1, v0}, Landroid/opengl/GLES20;->glBindTexture(II)V

    .line 37
    return-void
.end method
